import {Service} from "adajs";
import NoticeList from "../../../controls/lists/power";

class LodgeService extends Service {
    defaultData() {
        return {
            list: {
                url: "/api/cms/cmsArticleCache/queryPage",
                type: NoticeList,
                parameter: {}
            }
        }
    }

    onupdate(current, data) {
        Object.assign(current, data);
    }
}

export default LodgeService;